package com.example.ordersystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@TableName("shopping_cart")
public class ShoppingCart implements Serializable {

    private static final long serialVersionUID = 4L;

    private int id;

    @TableField("user_id")
    private String user_id;
    @TableField("food_id")
    private String food_id;
    /**
     * 加入购物车的菜品数量
     */
    @TableField("food_num")
    private String food_num;

}
